package com.lunago.agent.service.impl;

import com.lunago.agent.mapper.InterestMapper;
import com.lunago.agent.pojo.entity.PromptRole;
import com.lunago.agent.service.InterestService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class InterestServieImpl implements InterestService {
    @Autowired
    InterestMapper interestMapper;
    @Override
    public List<PromptRole> selectInterest() {
        List<PromptRole> list = interestMapper.selectInterest();
        return list;
    }
}
